using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("PlayerChatInfo")]
	public class PlayerChatInfo : MonoClass
	{
		public BnetPlayer m_player => method_3<BnetPlayer>("m_player");

		public float m_lastFocusTime => method_2<float>("m_lastFocusTime");

		public PlayerChatInfo(IntPtr address, string className)
			: base(address, className)
		{
		}

		public PlayerChatInfo(IntPtr address)
			: this(address, "PlayerChatInfo")
		{
		}

		public BnetPlayer GetPlayer()
		{
			return method_14<BnetPlayer>("GetPlayer", Array.Empty<object>());
		}

		public void SetPlayer(BnetPlayer player)
		{
			method_8("SetPlayer", player);
		}

		public float GetLastFocusTime()
		{
			return method_11<float>("GetLastFocusTime", Array.Empty<object>());
		}

		public void SetLastFocusTime(float time)
		{
			method_8("SetLastFocusTime", time);
		}
	}
}
